//
//  SureLogoutViewController.m
//  Fangmm
//
//  Created by 阮琦 on 16/3/31.
//  Copyright © 2016年 com.fangmm. All rights reserved.
//

#import "SureLogoutViewController.h"
#import <MobClick.h>
@interface SureLogoutViewController ()

@end

@implementation SureLogoutViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view from its nib.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

- (void)viewWillAppear:(BOOL)animated {
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleLightContent];
    self.navigationController.navigationBarHidden = true;
    [MobClick beginLogPageView:@"确认退出页"];
}

- (void)viewWillDisappear:(BOOL)animated {
    [[UIApplication sharedApplication] setStatusBarStyle:UIStatusBarStyleDefault];
    self.navigationController.navigationBarHidden = false;
    [MobClick beginLogPageView:@"确认退出页"];
}


/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/
- (IBAction)logOutButtonClicked:(UIButton *)sender {
    [self.delegate clickToLogOut];
}

@end
